import { type } from "os"

export interface TaskPageParams {
  name: string,
  page: number,
  size: number,
  sort: string,
}
export interface TaskTable {
  Loading: boolean,
  list: Array<TableDate>,
  height: number,
  total: number
}
export interface TableDate {
  id: string,
  name: string,
  createId: string,
  remark: string,
  taskBaseline: string,
  createTime: string,
  updateTime: string,
}
export interface TaskAdd {
  name: string,
  remark: string,
  taskBaseline: string,
  taskType: string,
  stages: string|Array<any>,
  endTime:string
}
export type TaskAddType = {
  name: string,
  remark: string,
  taskBaseline: string,
  taskType: string,
}
export type taskDetailType = {
  id: string,
  taskBaselineId: string
}
export type AuditFileAdd = {
  auditorStageId: string,  //审核阶段ID
  taskBaselineId: string,   //基线ID
  versions: string,     //版本  
  wordFiles: any,
  taskId: string,   //文件
  filesId: string   //文件ID
}
export type RecordType = {
  filesId: string,
  pageNumber: number
}
// 获取基线列表参数
export type getTaskBase = {
  taskId: string,
}
// 获取详情列表 任务ID和基线ID  
export type getdetail = {
  taskId: string,
  taskBaselineId: string
}